package so.sao.shop.supplier.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * <p>Version: supplier V1.2.0 </p>
 * <p>Title: CheckingAccountRecord</p>
 * <p>Description: 对账记录</p>
 *
 * @author: fangzhou
 * @Date: Created in 2017/11/22 10:18
 */
public class CheckingAccountRecord {

    /**
     * 对账记录id
     */
    private Long id;

    /**
     * 对账人id
     */
    private Long checkerId;

    /**
     * 对账人姓名
     */
    private String checkerName;

    /**
     * excel文件URL
     */
    private String excelUrl;

    /**
     * excel文件名
     */
    private String excelName;

    /**
     * excel中完成时间的最小时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date minTime;

    /**
     * excel中完成时间的最大时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date maxTime;

    /**
     * excel状态： 0.未对帐  1.已对账  2.已失效
     */
    private Integer isChecking;

    /**
     * excel总条数
     */
    private Integer totalNum;

    /**
     * excel解析成功条数
     */
    private Integer succNum;

    /**
     * excel解析失败条数
     */
    private Integer failNum;

    /**
     * excel中是否有错误数据
     */
    private Integer isError;

    /**
     * excel中错误数据的行号
     */
    private String errorRowno;

    /**
     * 发起对账时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date matchTime;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date createdAt;

    /**
     * 更新时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCheckerId() {
        return checkerId;
    }

    public void setCheckerId(Long checkerId) {
        this.checkerId = checkerId;
    }

    public String getCheckerName() {
        return checkerName;
    }

    public void setCheckerName(String checkerName) {
        this.checkerName = checkerName;
    }

    public String getExcelUrl() {
        return excelUrl;
    }

    public void setExcelUrl(String excelUrl) {
        this.excelUrl = excelUrl;
    }

    public String getExcelName() {
        return excelName;
    }

    public void setExcelName(String excelName) {
        this.excelName = excelName;
    }

    public Date getMinTime() {
        return minTime;
    }

    public void setMinTime(Date minTime) {
        this.minTime = minTime;
    }

    public Date getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(Date maxTime) {
        this.maxTime = maxTime;
    }

    public Integer getIsChecking() {
        return isChecking;
    }

    public void setIsChecking(Integer isChecking) {
        this.isChecking = isChecking;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public Integer getSuccNum() {
        return succNum;
    }

    public void setSuccNum(Integer succNum) {
        this.succNum = succNum;
    }

    public Integer getFailNum() {
        return failNum;
    }

    public void setFailNum(Integer failNum) {
        this.failNum = failNum;
    }

    public Integer getIsError() {
        return isError;
    }

    public void setIsError(Integer isError) {
        this.isError = isError;
    }

    public String getErrorRowno() {
        return errorRowno;
    }

    public void setErrorRowno(String errorRowno) {
        this.errorRowno = errorRowno;
    }

    public Date getMatchTime() {
        return matchTime;
    }

    public void setMatchTime(Date matchTime) {
        this.matchTime = matchTime;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
